/**
 * 
 */
package com.xxl.job.admin.core.open.dingtalk;

/**
 * 描述：钉钉自定义机器人请求
 * 
 * @author qizai
 * @version: 0.0.1 2021年6月24日-上午10:50:11
 *
 */
public class RobotSendResponse {
	private int		errcode;
	private String	errmsg;

	public boolean isSuccess() {
		return errcode == 0;
	}

	/**
	 * @return the {@link #errcode}
	 */
	public int getErrcode() {
		return errcode;
	}

	/**
	 * @param errcode
	 *            the {@link #errcode} to set
	 */
	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	/**
	 * @return the {@link #errmsg}
	 */
	public String getErrmsg() {
		return errmsg;
	}

	/**
	 * @param errmsg
	 *            the {@link #errmsg} to set
	 */
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
}
